package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 救援人员业务对象 emg_user
 *
 * @author ruoyi
 * @date 2023-11-10
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class EmgUserBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 所属单位
     */
    private Long deptId;

    /**
     * 队伍ID
     */
    @NotNull(message = "队伍ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long teamId;

    /**
     * 救援人员类型
     */
    @NotBlank(message = "救援人员类型不能为空", groups = {AddGroup.class, EditGroup.class})
    private String userTypeId;

    /**
     * 账号
     */
    @NotBlank(message = "账号不能为空", groups = {AddGroup.class, EditGroup.class})
    private String account;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空", groups = {AddGroup.class, EditGroup.class})
    private String password;

    /**
     * 姓名
     */
    @NotBlank(message = "姓名不能为空", groups = {AddGroup.class, EditGroup.class})
    private String name;

    /**
     * 头像
     */
//    @NotBlank(message = "头像不能为空", groups = {AddGroup.class, EditGroup.class})
    private String avatarUrl;

    /**
     * 年龄
     */
    @NotNull(message = "年龄不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long age;

    /**
     * 性别
     */
    @NotBlank(message = "性别不能为空", groups = {AddGroup.class, EditGroup.class})
    private String sex;

    /**
     * 电话
     */
    @NotBlank(message = "电话不能为空", groups = {AddGroup.class, EditGroup.class})
    private String phone;

    /**
     * 专业字典
     */
    @NotBlank(message = "专业字典不能为空", groups = {AddGroup.class, EditGroup.class})
    private String majorId;

    /**
     * 坐标
     */
//    @NotBlank(message = "坐标不能为空", groups = {AddGroup.class, EditGroup.class})
    private String lat;

    /**
     * 坐标
     */
//    @NotBlank(message = "坐标不能为空", groups = {AddGroup.class, EditGroup.class})
    private String lng;

    /**
     * 所属区域字典
     */
//    @NotBlank(message = "所属区域不能为空", groups = {AddGroup.class, EditGroup.class})
    private String areaId;

    /**
     * 详细地址
     */
//    @NotBlank(message = "详细地址不能为空", groups = {AddGroup.class, EditGroup.class})
    private String address;

    /**
     * 擅长
     */
//    @NotBlank(message = "擅长不能为空", groups = {AddGroup.class, EditGroup.class})
    private String goodAt;

    /**
     * 作战次数
     */
    @NotNull(message = "作战次数不能为空", groups = {AddGroup.class, EditGroup.class})
    private Integer combatCount;

    /**
     * 描述备注信息
     */
//    @NotBlank(message = "描述备注信息不能为空", groups = {AddGroup.class, EditGroup.class})
    private String remark;

    /**
     * 状态
     */
//    @NotBlank(message = "状态不能为空", groups = {AddGroup.class, EditGroup.class})
    private String status;


}
